package ast;

import visitor.*;

public class ExprConstanteChar extends AbstractExpresion
{
	public ExprConstanteChar(String valor){
		this.valor=valor;
	}
	public ExprConstanteChar(Object valor){
		this.valor=(String)valor;
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public void setValorSinComillas(String valor){
		this.valor=valor.replaceAll("'", "");
	}
	public String valor;

}
